﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ARNative;

namespace NRemedy.MVC.UI
{
    public class UserSession : IDisposable
    {
        public const string SessionKey = "ARSession";

        public ARLoginContext ARContext { get; set; }

        //todo add Group ID List
        public List<string> GroupList { get; set; }

        /// <summary>
        /// 是否支持组领导
        /// </summary>
        public bool IS_GroupLeader;

        public UserSession()
        {
            GroupList = new List<string>();

        }

        public void Dispose()
        {
            if (ARContext != null)
                ARContext.Dispose();
        }
    }
}
